Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lints suggested by clippy #309

Merged
merged 7 commits into from
Apr 9, 2024
Merged

Fix lints suggested by clippy #309

merged 7 commits into from
Apr 9, 2024

Conversation

aljazerzen
Copy link
Contributor

@aljazerzen aljazerzen commented Apr 8, 2024

To be more specific, I've only fixed stuff that has actual impact on the performance or is a severe anti-pattern in idiomatic Rust.

Command used:

cargo clippy --features=unstable --tests -- \
-A clippy::collapsible_if \
-A clippy::derive_partial_eq_without_eq \
-A clippy::zero_ptr \
-A clippy::manual_strip \
-A clippy::new_ret_no_self \
-A clippy::type_complexity \
-A clippy::vec_init_then_push \
-A clippy::while_let_on_iterator \
-A clippy::useless_format \
-A clippy::too_many_arguments \
-A clippy::clone_on_copy

@aljazerzen aljazerzen changed the title clippy Fix lints suggested by clippy Apr 8, 2024
@aljazerzen aljazerzen requested a review from quinchs April 8, 2024 16:20
@aljazerzen aljazerzen merged commit aec9760 into master Apr 9, 2024
4 checks passed
@aljazerzen aljazerzen deleted the clippy branch April 9, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant